package com.digital.smartgrow.dto.expert;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.digital.smartgrow.dto.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 教师基本信息
 * </p>
 *
 * @author sunyuechao
 * @since 2022-07-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("expert")
@ApiModel(value="Expert对象", description="教师基本信息")
public class ExpertPageDTO extends PageDTO {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "专家编号")
    @TableField("employeeId")
    private String employeeId;

    @ApiModelProperty(value = "密码")
    @TableField("password")
    private String password;

    @ApiModelProperty(value = "编号权重")
    @TableField("idWeight")
    private Integer idWeight;

    @ApiModelProperty(value = "姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "姓名权重")
    @TableField("nameWeight")
    private Integer nameWeight;

    @ApiModelProperty(value = "性别")
    @TableField("gender")
    private String gender;

    @ApiModelProperty(value = "所属学科")
    @TableField("series")
    private String series;

    @ApiModelProperty(value = "专业")
    @TableField("major")
    private String major;

    @ApiModelProperty(value = "技术职称")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "入库日期")
    @TableField("partyDate")
    private LocalDate partyDate;

    @ApiModelProperty(value = "所属单位")
    @TableField("company")
    private String company;

    @ApiModelProperty(value = "专家简述")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "当前状态")
    @TableField("status")
    private Integer status;
}
